package com.jewelry.vo;

import java.util.Date;

/**
 * 操作日志
 * @author yangfeng
 *
 */
public class OperateLogVO {
	
	//用于分页查询
	private PageVO page;
	
	public PageVO getPage() {
		return page;
	}

	public void setPage(PageVO page) {
		this.page = page;
	}

	//序列号
	private int logid;
	
	//用户ID
	private int userid;
	
	//时间
	private Date optTime;
	
	//请求URI
	private String requestURI;
	
	//请求参数
	private String requestString;
	
	//请求地址
	private String reqeustIP;
	
	//userAgent
	private String userAgent;

	public String getUserAgent() {
		return userAgent;
	}

	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}

	
	public int getLogid() {
		return logid;
	}

	public void setLogid(int logid) {
		this.logid = logid;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public Date getOptTime() {
		return optTime;
	}

	public void setOptTime(Date optTime) {
		this.optTime = optTime;
	}

	public String getRequestURI() {
		return requestURI;
	}

	public void setRequestURI(String requestURI) {
		this.requestURI = requestURI;
	}

	public String getRequestString() {
		return requestString;
	}

	public void setRequestString(String requestString) {
		this.requestString = requestString;
	}

	public String getReqeustIP() {
		return reqeustIP;
	}

	public void setReqeustIP(String reqeustIP) {
		this.reqeustIP = reqeustIP;
	}

	@Override
	public String toString() {
		return "userid=" + userid
				+ ", requestURI=" + requestURI
				+ ", requestString=" + requestString 
				+ ", reqeustIP=" + reqeustIP 
				+ ", userAgent=" + userAgent;
	}

}
